namespace KDS.Mes.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class AddAtlas : DbMigration
    {
        public override void Up()
        {
            //CreateTable(
            //    "dbo.T_AtlasResult",
            //    c => new
            //        {
            //            Id = c.Int(nullable: false, identity: true),
            //            LINE = c.String(maxLength: 20),
            //            STATION_NO = c.String(maxLength: 20),
            //            SEAT_ID = c.String(maxLength: 20),
            //            LENGTHS = c.String(maxLength: 20),
            //            MID = c.String(maxLength: 20),
            //            REVISION = c.String(maxLength: 20),
            //            ACK_FLAG = c.String(maxLength: 20),
            //            CELL_ID = c.String(maxLength: 20),
            //            CHANNEL_ID = c.String(maxLength: 20),
            //            CONTROLLER_NAME = c.String(maxLength: 25),
            //            JOB_ID = c.String(maxLength: 20),
            //            PARAMETER_SET_ID = c.String(maxLength: 20),
            //            BATCH_SIZE = c.String(maxLength: 20),
            //            BATCH_COUNTER = c.String(maxLength: 20),
            //            TIGHTENING_STATUS = c.String(maxLength: 20),
            //            TORQUE_STATUS = c.String(maxLength: 20),
            //            ANGLE_STATUS = c.String(maxLength: 20),
            //            TORQUE_MIN_LIMIT = c.String(maxLength: 20),
            //            TORQUE_MAX_LIMIT = c.String(maxLength: 20),
            //            TORQUE_FINAL_TARGET = c.String(maxLength: 20),
            //            TORQUE = c.String(maxLength: 20),
            //            ANGLE_MIN = c.String(maxLength: 20),
            //            ANGLE_MAX = c.String(maxLength: 20),
            //            FINALl_ANGLE_TARGET = c.String(maxLength: 20),
            //            ANGLE = c.String(maxLength: 20),
            //            TIME_STAMP = c.String(maxLength: 20),
            //            TIME_OF_LAST_CHANGE = c.String(maxLength: 20),
            //            BATCH_STATUS = c.String(maxLength: 20),
            //            TIGHTENING_ID = c.String(maxLength: 20),
            //            CREAT_TIME = c.DateTime(),
            //        })
            //    .PrimaryKey(t => t.Id);
            
        }
        
        public override void Down()
        {
            DropTable("dbo.T_AtlasResult");
        }
    }
}
